package com.xdtech.hotel.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.hotel.model.DeviceEvent;
import com.xdtech.hotel.vo.DeviceEventItem;

/**
 * 
 * @author max.zheng
 * @create 2015-05-05 22:31:28
 * @since 1.0
 * @see
 */
public interface DeviceEventService extends IBaseService<DeviceEvent>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-05-05 22:31:28
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateDeviceEvent(DeviceEventItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-05-05 22:31:28
	 * @modified by
	 * @param newId
	 * @return
	 */
	DeviceEventItem loadDeviceEventItem(Long deviceEventId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-05-05 22:31:28
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteDeviceEventInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-05-05 22:31:28
	 * @modified by
	 * @param deviceEventIds
	 */
	boolean deleteDeviceEventInfo(List<Long> deviceEventIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2015-05-05 22:31:28
	 * @modified by
	 * @return
	 */
	List<DeviceEventItem> loadItems();
	
	public void handlPostData(String postContent);
}
